package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzConsult;
import com.angel.health.BuzConsultExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BuzConsultMapper extends BaseMapper<BuzConsult>{
    int countByExample(BuzConsultExample example);

    int deleteByExample(BuzConsultExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzConsult record);

    List<BuzConsult> selectByExample(BuzConsultExample example);

    BuzConsult selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzConsult record, @Param("example") BuzConsultExample example);

    int updateByExample(@Param("record") BuzConsult record, @Param("example") BuzConsultExample example);

    int updateByPrimaryKey(BuzConsult record);

	List<Map<String, Object>> allotCustToDoc(BuzConsult consult);

	List<Map<String, Object>> findDoctorConsultAtten(BuzConsult consult);
}